Optimal. Leaf size=145 \[ -\frac {3 x^2 \sqrt {-1+a x}}{16 a^3 \sqrt {1-a x}}-\frac {x^4 \sqrt {-1+a x}}{16 a \sqrt {1-a x}}-\frac {3 x \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)}{8 a^4}-\frac {x^3 \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)}{4 a^2}+\frac {3 \sqrt {-1+a x} \cosh ^{-1}(a x)^2}{16 a^5 \sqrt {1-a x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {5938, 5892, 30}
\begin {gather*} \frac {3 \sqrt {a x-1} \cosh ^{-1}(a x)^2}{16 a^5 \sqrt {1-a x}}-\frac {3 x^2 \sqrt {a x-1}}{16 a^3 \sqrt {1-a x}}-\frac {x^3 \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)}{4 a^2}-\frac {3 x \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)}{8 a^4}-\frac {x^4 \sqrt {a x-1}}{16 a \sqrt {1-a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5892
Rule 5938
Rubi steps
\begin {align*} \int \frac {x^4 \cosh ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx &=\frac {\left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^4 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{\sqrt {1-a^2 x^2}}\\ &=-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^2 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{4 a^2 \sqrt {1-a^2 x^2}}-\frac {\left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \int x^3 \, dx}{4 a \sqrt {1-a^2 x^2}}\\ &=-\frac {x^4 \sqrt {-1+a x} \sqrt {1+a x}}{16 a \sqrt {1-a^2 x^2}}-\frac {3 x (1-a x) (1+a x) \cosh ^{-1}(a x)}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {\cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int x \, dx}{8 a^3 \sqrt {1-a^2 x^2}}\\ &=-\frac {3 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{16 a^3 \sqrt {1-a^2 x^2}}-\frac {x^4 \sqrt {-1+a x} \sqrt {1+a x}}{16 a \sqrt {1-a^2 x^2}}-\frac {3 x (1-a x) (1+a x) \cosh ^{-1}(a x)}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a^5 \sqrt {1-a^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 93, normalized size = 0.64 \begin {gather*} \frac {\sqrt {\frac {-1+a x}{1+a x}} (1+a x) \left (-16 \cosh \left (2 \cosh ^{-1}(a x)\right )-\cosh \left (4 \cosh ^{-1}(a x)\right )+4 \cosh ^{-1}(a x) \left (6 \cosh ^{-1}(a x)+8 \sinh \left (2 \cosh ^{-1}(a x)\right )+\sinh \left (4 \cosh ^{-1}(a x)\right )\right )\right )}{128 a^5 \sqrt {-((-1+a x) (1+a x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(455\) vs.
\(2(119)=238\).
time = 7.06, size = 456, normalized size = 3.14
method | result | size |
default | \(-\frac {3 \sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \mathrm {arccosh}\left (a x \right )^{2}}{16 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (8 a^{5} x^{5}-12 a^{3} x^{3}+8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{4} x^{4}+4 a x -8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}+\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (-1+4 \,\mathrm {arccosh}\left (a x \right )\right )}{256 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (2 a^{3} x^{3}-2 a x +2 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}-\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (-1+2 \,\mathrm {arccosh}\left (a x \right )\right )}{16 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (2 a^{3} x^{3}-2 a x -2 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}+\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (1+2 \,\mathrm {arccosh}\left (a x \right )\right )}{16 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (8 a^{5} x^{5}-12 a^{3} x^{3}-8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{4} x^{4}+4 a x +8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}-\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (1+4 \,\mathrm {arccosh}\left (a x \right )\right )}{256 a^{5} \left (a^{2} x^{2}-1\right )}\) | \(456\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} \operatorname {acosh}{\left (a x \right )}}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4\,\mathrm {acosh}\left (a\,x\right )}{\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________